package cn.bandeqing.orderDiscounts.entity;

import com.mybatisflex.annotation.EnumValue;
import io.github.linpeilie.annotations.AutoEnumMapper;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
@AutoEnumMapper("value")
public enum DiscountsType {

    other_price(0, "其他费用"),
    customer_service_discounts(1, "客服优惠"),
    douyin(2, "抖音券"),
    ;

    @EnumValue
    private final Integer value;

    private final String label;


}